<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link href="./plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <script src="./plugins/bootstrap/js/jquery.1.10.2.js"></script>
    <script>
        function JsonTest(){
            var params = {
                timeType : 'examineTime',
                orderStatus : 'VerifiedDateOut',
                startTime : '2016-07-25',
                endTime : '2016-07-28'
            };
            $.ajax({
                type: 'POST',
                contentType: 'application/json',
                url: 'http://localhost:8080/',
                processData: false,
//                dataType: 'json',
                data: JSON.stringify(params),
                success: function () {
                    alert("success: ");
                },
                error: function () {
                    alert('Err...');
                }
            });
        }
    </script>
</head>
<body>
    <div> 测试按钮：</div>
    <button id="button" onclick="JsonTest()">Json test</button>
</body>
</html>